package pers.xhh.shopapi.entity.to.role;

import javax.validation.constraints.NotBlank;

/**
 * @author wei-xhh
 * @date 2020-11-24
 */
public class MiRoleTo {
    @NotBlank(message = "角色名不能为空！")
    private String roleName;
    private String roleDesc;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleDesc() {
        return roleDesc;
    }

    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc;
    }
}
